package com.aboo.service;

import com.aboo.po.User;
import com.aboo.vo.ReturnVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "eureka-client-one", fallback = IUserServiceFallback.class)
public interface IUserService {

    @PostMapping("/user/add")
    ReturnVO<User> add(User user);

    @PostMapping("/user/edit")
    ReturnVO<User> edit(User user);

}
